package com.example.api.demo.config;

import org.springframework.cloud.gateway.route.RouteLocator;
import org.springframework.cloud.gateway.route.builder.RouteLocatorBuilder;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.server.ServerWebExchange;

import java.util.function.Predicate;

/**
 * @program: getway-demo
 * @description: API网关
 * @author: tmz
 * @create: 2020-08-13 14:10
 */
@Configuration
public class GatewayRoutes {
}
